// Package sysin
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package sysin

import (
	"context"
	"hotgo/internal/model/entity"
	"hotgo/internal/model/input/form"

	"github.com/gogf/gf/v2/os/gtime"
)

// AuctionBidHistoryUpdateFields 修改出价日志字段过滤
type AuctionBidHistoryUpdateFields struct {
}

// AuctionBidHistoryInsertFields 新增出价日志字段过滤
type AuctionBidHistoryInsertFields struct {
}

// AuctionBidHistoryEditInp 修改/新增出价日志
type AuctionBidHistoryEditInp struct {
	entity.AuctionBidHistory
}

func (in *AuctionBidHistoryEditInp) Filter(ctx context.Context) (err error) {

	return
}

type AuctionBidHistoryEditModel struct{}

// AuctionBidHistoryDeleteInp 删除出价日志
type AuctionBidHistoryDeleteInp struct {
	Id interface{} `json:"id" v:"required#id不能为空" dc:"id"`
}

func (in *AuctionBidHistoryDeleteInp) Filter(ctx context.Context) (err error) {
	return
}

type AuctionBidHistoryDeleteModel struct{}

// AuctionBidHistoryViewInp 获取指定出价日志信息
type AuctionBidHistoryViewInp struct {
	Id int64 `json:"id" v:"required#id不能为空" dc:"id"`
}

func (in *AuctionBidHistoryViewInp) Filter(ctx context.Context) (err error) {
	return
}

type AuctionBidHistoryViewModel struct {
	entity.AuctionBidHistory
}

// AuctionBidHistoryListInp 获取出价日志列表
type AuctionBidHistoryListInp struct {
	form.PageReq
	Id                  int64         `json:"id"                  dc:"id"`
	LogId               int64         `json:"logId"               dc:"拍品id"`
	UserId              int64         `json:"userId"              dc:"出价用户"`
	CreatedAt           []*gtime.Time `json:"createdAt"           dc:"创建日期"`
	AuctionLogDate      *gtime.Time   `json:"auctionLogDate"      dc:"日期"`
	AuctionLogStartTime *gtime.Time   `json:"auctionLogStartTime" dc:"开始时间"`
	AuctionLogEndTime   *gtime.Time   `json:"auctionLogEndTime"   dc:"结束时间"`
}

func (in *AuctionBidHistoryListInp) Filter(ctx context.Context) (err error) {
	return
}

type AuctionBidHistoryListModel struct {
	Id                  int64       `json:"id"                  dc:"id"`
	LogId               int64       `json:"logId"               dc:"拍品id"`
	UserId              int64       `json:"userId"              dc:"出价用户"`
	BidAmount           float64     `json:"bidAmount"           dc:"出价"`
	CreatedAt           *gtime.Time `json:"createdAt"           dc:"创建日期"`
	AdminMemberRealName string      `json:"adminMemberRealName" dc:"真实姓名"`
	AdminMemberUsername string      `json:"adminMemberUsername" dc:"帐号"`
	AdminMemberAvatar   string      `json:"adminMemberAvatar"   dc:"头像"`
	AdminMemberNickname string      `json:"adminMemberNickname" dc:"微信昵称"`
	AuctionLogDate      *gtime.Time `json:"auctionLogDate"      dc:"日期"`
	AuctionLogStartTime *gtime.Time `json:"auctionLogStartTime" dc:"开始时间"`
	AuctionLogEndTime   *gtime.Time `json:"auctionLogEndTime"   dc:"结束时间"`
}

// AuctionBidHistoryExportModel 导出出价日志
type AuctionBidHistoryExportModel struct {
	Id                  int64       `json:"id"                  dc:"id"`
	LogId               int64       `json:"logId"               dc:"拍品id"`
	UserId              int64       `json:"userId"              dc:"出价用户"`
	BidAmount           float64     `json:"bidAmount"           dc:"出价"`
	CreatedAt           *gtime.Time `json:"createdAt"           dc:"创建日期"`
	AdminMemberRealName string      `json:"adminMemberRealName" dc:"真实姓名"`
	AdminMemberUsername string      `json:"adminMemberUsername" dc:"帐号"`
	AdminMemberAvatar   string      `json:"adminMemberAvatar"   dc:"头像"`
	AdminMemberNickname string      `json:"adminMemberNickname" dc:"微信昵称"`
	AuctionLogDate      *gtime.Time `json:"auctionLogDate"      dc:"日期"`
	AuctionLogStartTime *gtime.Time `json:"auctionLogStartTime" dc:"开始时间"`
	AuctionLogEndTime   *gtime.Time `json:"auctionLogEndTime"   dc:"结束时间"`
}

type AuctionBidHistoryApiListInp struct {
	form.PageReq
	LogID int64 `json:"logId" dc:"拍品id"`
}
